package com.tm.mapper;

import com.tm.model.EcIncomeDetail;
import com.tm.model.EcIncomeDetailCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EcIncomeDetailMapper {
    int countByExample(EcIncomeDetailCriteria example);

    int deleteByExample(EcIncomeDetailCriteria example);

    int deleteByPrimaryKey(Integer incomeDetailId);

    int insert(EcIncomeDetail record);

    int insertSelective(EcIncomeDetail record);

    List<EcIncomeDetail> selectByExample(EcIncomeDetailCriteria example);

    EcIncomeDetail selectByPrimaryKey(Integer incomeDetailId);

    int updateByExampleSelective(@Param("record") EcIncomeDetail record, @Param("example") EcIncomeDetailCriteria example);

    int updateByExample(@Param("record") EcIncomeDetail record, @Param("example") EcIncomeDetailCriteria example);

    int updateByPrimaryKeySelective(EcIncomeDetail record);

    int updateByPrimaryKey(EcIncomeDetail record);
}